{"version":3,"sources":["productfield.bundle.js"],"names":["this","BX","Landing","Ui","exports","landing_ui_field_basefield","catalog_productForm","catalog_productCalculator","landing_pageobject","main_core","main_core_events","landing_ui_component_internal","ProductField","_BaseField","babelHelpers","inherits","options","_this","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","setEventNamespace","subscribeFromOptions","fetchEventsFromOptions","setLayoutClass","onBasketChange","bind","assertThisInitialized","Dom","append","getProductSelector","wrapper","input","setProducts","items","root","PageObject","getRootWindow","Event","EventEmitter","subscribe","createClass","key","value","products","cache","set","Runtime","clone","getProducts","get","event","data","getData","basket","emit","skipPrepare","getValue","reduce","acc","item","Type","isNil","offerId","fields","productId","pics","image","path","push","preview","ic","document","createElement","innerHTML","querySelector","src","some","label","name","changeablePrice","discount","price","quantity","selected","_this2","remember","Catalog","ProductForm","iblockId","showResults","allowedDiscountTypes","DiscountType","MONETARY","buttonsPosition","newItemPosition","BaseField","Field","UI","Component"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,OACfD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,YAC1BF,KAAKC,GAAGC,QAAQC,GAAKH,KAAKC,GAAGC,QAAQC,QACpC,SAAUC,EAAQC,EAA2BC,EAAoBC,EAA0BC,EAAmBC,EAAUC,EAAiBC,GACzI,aAEA,IAAIC,EAA4B,SAAUC,GACxCC,aAAaC,SAASH,EAAcC,GAEpC,SAASD,EAAaI,GACpB,IAAIC,EAEJH,aAAaI,eAAelB,KAAMY,GAClCK,EAAQH,aAAaK,0BAA0BnB,KAAMc,aAAaM,eAAeR,GAAcS,KAAKrB,KAAMgB,IAE1GC,EAAMK,kBAAkB,oCAExBL,EAAMM,qBAAqBZ,EAA8Ba,uBAAuBR,IAEhFC,EAAMQ,eAAe,4BAErBR,EAAMS,eAAiBT,EAAMS,eAAeC,KAAKb,aAAac,sBAAsBX,IACpFR,EAAUoB,IAAIC,OAAOb,EAAMc,qBAAqBC,QAASf,EAAMgB,OAE/DhB,EAAMiB,Y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